package com.redoor.iot.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.redoor.iot.model.Role;

@Mapper
public interface RoleMapper {
	
	int save(Role role);
	
	List<Role> list(Map<String,Object> map);
	
	
	//
    int deleteByPrimaryKey(Integer roleId);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}